const initialState = ["张三"];

export default (state = initialState, action: any) => {
  switch (action.type) {
    case "todos/add":
      return [...state, "李四"];
    default:
      return state;
  }
};
